<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hello小案例</title>
    <script src="../../js/vue.js"></script>
</head>
<body>
    <div id="app">
        <a v-bind:href="url">百度一下，你就知道</a>
        <a :href="url">百度一下，你就知道</a>
    </div>
    <script>
        Vue.config.productionTip = false;
        
        let app = new Vue({
            el: '#app',
            data: {
                url: "https://www.baidu.com/"
            }
        });
    </script>
</body>
</html>
